<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8" />
	<link rel="shortcut icon" href="asset/img/favicon.ico"> 
	<meta name="viewport" content="" />
	<title>WiFi Portal Log-in</title>
    <style type="text/css">
        body { background: #fff; color: #fff; padding: 0; margin: 0; font-family: Arial , sans-serif; overflow-x: hidden; font-size: 20px; line-height: 20px; }
        #main { width: 1024px; height: 768px; margin: 0 auto; background: url(data/images/non-login_bg.jpg) no-repeat center top;}
        #main .non-login { padding: 266px 0 0 353px; float: right; text-align: center; width: 700px;}
        .non-login h1 { font-size: 31px; font-weight: bold; color: #024598; line-height: 45px;
margin: 0;}
        .non-login p { font-size: 16px;}
        .non-login p a {color: #fff;}
    </style>
    <script src="js/s.js" type="text/javascript"></script>
    <script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
      <script type="text/javascript">
function clicksubmit(inputname){
	$("input[name="+inputname+"]").click();
}
  </script>
</head>

    <body onload="javascript:bodyonload();">
    	<sf:form method="post" modelAttribute="cp" action="cpsubmit.sw">
        <div id="main">
           <div class="non-login">
                <h1>WiFi@Singapore Airshow<br />
                Welcome to Singapore Airshow 2014</h1>
                <p>You are now on the freeWiFi@Airshow wireless network</p>
                <p style="font-size: 20px; margin-bottom: 0px;">Click <a href="http://www.singaporeairshow.com/" target="_blank">here</a> to find out more about Singapore Airshow</p>
                <p style="font-size: 15px; margin: 0;">*Some links may require internet access. </p>
                <p style="font-size: 17px;">To enjoy free Internet Access, please click on the button below.</p>
                <p style="font-size: 14px;">I have read and understood the terms and conditions.</p>
                <p style="padding-top: 15px;"><a href="javascript:clicksubmit('_eventId_next');"><img src="data/images/btn_start.png" /></a></p>
           </div>   
        </div>
        <sf:hidden path="ssid"/>
        			<sf:hidden path="apName"/>
        			<sf:hidden path="vcName"/>
        			<sf:hidden path="mac"/>
        			<sf:hidden path="ip"/>
        			<sf:hidden path="cmd"/>
        			<sf:hidden path="url"/>
	        		<input type="hidden" name="username" value="free" />
							<input type="hidden" name="password" value="free" />
	        		<div style="display: none;">
							<input type="submit" name="_eventId_next" value="Next"/>
							</div>
       </sf:form>
    </body>
</html>